package com.douqu.game.core.e;

/**
 * @Author: Bean
 * @Description:
 * @Date: 2018-07-28 12:36
 */
public enum E_CityInOutType implements BaseEnum {

    IN_AUTO_MOVE(1, "到达城-服务器自动行走"),
    IN_BREAK(2, "到达城-突进或撤退"),
    IN_BACK_MAIN(3, "到达城-回主城"),
    IN_DEFAULT_ARRIVE(4, "到达城-客户端行走"),
    IN_GM(5, "GM传送"),

    OUT_BREAK(11, "离开城-突进或撤退"),
    OUT_BACK_MAIN(12, "离开城-回主城"),
    OUT_BATTLE(13, "离开城-战斗失败"),
    OUT_AUTO_MOVE(14, "离开城-服务器自动行走"),
    OUT_DEFAULT_ARRIVE(15, "离开城-客户端行走"),
    OUT_BATTLE_BY_ERROR(16, "离开城-战斗异常结束"),
    OUT_EXPEDITION_TIMEOUT(17, "离开城-远征军时间到期"),

    OUT_ERROR(21, "离开城-处理异常数据"),
    OUT_TIMEOUT(22, "离开城-大地图超时"),
    OUT_RESET_GARRISON(23, "离开城-重新初始化驻军")
    ;

    int code;

    String msg;

    E_CityInOutType(int code, String msg)
    {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }


}
